#include "vulkan/VKSurface.h"
#include "vulkan/VKContext.h"
void VKSurface::CreateSurface(SDL_Window* window)
{
	if (!SDL_Vulkan_CreateSurface(window,VKContext::m_VKInstance->m_Instance,&m_Surface))
		SDL_Log("failed to create window surface!");
}

void VKSurface::DestroySurface()
{
	vkDestroySurfaceKHR(VKContext::m_VKInstance->m_Instance, m_Surface, nullptr);
}
